﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MangoCannon.Framework.Bussness
{
    public class Command
    {
        public int search(string msg)
        {
            if (msg == "exit")
            {
                return -2;
            }
            if (msg == "listen")
            {
                return 1;
            }
            return 0;
        }

        public void runCMD(int code,string originCMD)
        {

        }
    }
}
